package org.szpshang.bean;

public class JsonDataBean {

	public JsonDataBean() {}
	public JsonDataBean(boolean success) {
		this(success, "");
	}

	public JsonDataBean(boolean success, String msg) {
		this.success = success;
		this.msg = msg;
	}

	public JsonDataBean(boolean success, Object data) {
		this.success = success;
		this.data = data;
	}

	private boolean success;
	private String msg;
	private Object data;
	private int totalCount;

	public Object getData() {
		return data;
	}

	public int getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}
	public void setData(Object data) {
		this.data = data;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}
